﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SubMenu.ascx.cs" Inherits="ITViet.Web.Controls.SubMenu" %>
<h3>
	<%=GetGlobalResourceObject("Strings", "Category") %>
</h3>
<ul id="subMenu" runat="server" class="leftMenu-list">
</ul>

<script type="text/javascript">
	function showDetail(obj, id, link) {
		var ul = obj.next('ul');
		if (ul.length) {
			ul.slideToggle('slow');
		}
		else {
			getCurrentElement(id, link);
		}
	}
	
	function getCurrentElement(id, link) {
		__doPostBack('FrontLeftMenuChange', id + '|' + link);
	}
</script>

